<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" autoFlush="false"  buffer="1028kb"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<c:set var="v" value="${TIME}"/>
<c:set var="zfzj" value="/resource/img/zfzj.jpg" />
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="${ctx}/resource/img/favicon.ico" type="image/x-icon" />
<meta charset="UTF-8">
<title>${MSG.htmlTitle}</title>
<!-- <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="app-mobile-web-app-capable" content="yes"> -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="${ctx}/resource/css/baseCss.css?v=${v}" rel="stylesheet" type="text/css" />
<link href="${ctx}/resource/css/grid.css?v=${v}" rel="stylesheet" type="text/css" />
<link href="${ctx}/resource/css/public.css?v=${v}" rel="stylesheet" type="text/css" />
<link href="${ctx}/resource/css/tips.css?v=${v}" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="${ctx}/resource/js/jquery.min.js?v=${v}"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.2.1.js"></script>
<script type="text/javascript" src="${ctx}/resource/js/baseJs.js?v=${v}"></script>
<script type="text/javascript" src="${ctx}/resource/js/common.js?v=${v}"></script>
<script type="text/javascript" src="${ctx}/resource/js/jquery.nicescroll.js?v=${v}"></script>
<script type="text/javascript" src="${ctx}/resource/js/tips.js?v=${v}"></script>

</head>
<body>
	<!-- TopMenu1 -->
	<div class="_panel _row" style="margin: 0px;border:0px; box-shadow: 0 0 5px #9D9D9D;z-index: 100;position: relative;">
		<div class="PW menu menu1 clear">
			<ul class="_left">
				<li>支付之家公共群：140403436</li>
			</ul>
			<ul class="_right">
				<li onclick="doChat()">在线客服</li>
				<li>加入收藏</li>
				<li onclick="doLogin()" class="${USER!=null?'hide':''}">登录/注册</li>
				<li class="${USER==null?'hide':''}" >欢迎您：${USER.aliasName}
					<div class=" _panelU hide" >
						<div class="arrow-up"></div>
						<div class=" context _white" style="overflow: hidden;">
							<div class="_def _MT5" style="height: 5px;width: 50px;margin: auto;"></div>
							<div class="TAC bb1 _MB5 _MT5 _PT5 bold" style="background: url('${ctx}/resource/img/BZ3.jpg') no-repeat center;background-size:100% 100%;">
								<img alt="" src="${ctx}/resource/img/exit2.png" style="width:20px;height:20px;position: absolute;right: 10px;" title="安全退出当前用户"  class="hoverShow" onclick="doExit()"  >
									<img alt="" src="${ctx}/resource/img/tx.jpg" class="UserImg"> 
									<p style="color: white;" onclick="location.href='${ctx}/user/${USER.userId}'">${USER.aliasName}</p>
							</div>
							<div class="_row TAC _P10">
								<div class=" _LH15 clear">
									<div class="hui _left TAR" style="width: 25%;">11级：</div>
									<div class="_right" style="border:1px solid #04B102; overflow: hidden;width: 73%;height: 11px;">
										<div style="position: absolute;margin-top:-2px; width: 120px;color: #2C36AD;text-align: center;">76/100</div> 
										<div style="width: 76%;background: #84CFFF">&nbsp;</div>
									</div>
								</div>
								<div class=" _LH15 _MT5  clear ">
									<div class="hui _left TAR" style="width: 25%;line-height: 20px;">认证：</div>
									<div class="TAL _left" style="padding-left: 2px;"> 
										<span style="display:inline-block; width: 20px;height: 20px;background:url('${ctx}/resource/img/rz.png');">&nbsp;</span>
										<span style="display:inline-block; width: 20px;height: 20px;background:url('${ctx}/resource/img/rz.png') 20px 20px;">&nbsp;</span>
									</div>
								</div>
							</div>
							<div>
								<span class="g-1-4 _def TAC">设置</span>
								<span class="g-1-4 _def TAC">消息</span>
								<span class="g-1-4 _def TAC">收藏</span>
								<span class="g-1-4 _def TAC">关注</span> 
							</div>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</div>
	<!-- TopSearch  -->
	<div class="_row clear _white TopSearch ${menutag==1?'':'hide'}" >
		<div class="PW _row ">
			<div class="g-8-24">
				<img alt="" src="${ctx}/resource/img/zfzj.jpg" style="margin-top: 10px; background-color: #868686; height: 88px;">
			</div>
			<div class="g-10-24">
				<div class="menu menu3 _MT10">
					<ul>
						<li class="active">平台</li>
						<li>新闻</li>
						<li>帖子</li>
						<li>百科</li>
					</ul>
				</div>
				<div>
					<input type="text" style="" class="SearchInput" />
				</div>
				<div style="color: #737573">热门搜索：问题网贷平台 网贷之家版规 谨明</div>
			</div>
			<div class="g-6-24"></div>
		</div>
	</div>
	<!-- TopMenu2 -->
	<div class="_panel _row bold clear" style="margin: 0px;border:0px;background-color: #2F8BCD; color: white;z-index: 5;">
		<div class="PW menu menu22 _LH40 clear">
			<ul class="_left ">
 				<li onclick="location.href='${ctx}/'" class="${menutag==1?'active':''}">首页</li>  
				<li onclick="location.href='${ctx}/news'" class="${menutag==2?'active':''}">支付新闻</li>
				<li onclick="location.href='${ctx}/navigation'" class="${menutag==3?'active':''}">平台导航</li>
				<li onclick="location.href='${ctx}/product'" class="${menutag==4?'active':''}">实体产品</li>
				<li onclick="location.href='${ctx}/product'" class="${menutag==5?'active':''}">接口产品</li>
				<li onclick="location.href='${ctx}/jobs'" class="${menutag==6?'active':''}">人才招聘</li>
				<li onclick="location.href='${ctx}/bbs'" class="${menutag==7?'active':''}">论坛交流</li>
				<li onclick="location.href='${ctx}/bbs'" class="${menutag==8?'active':''}">金融315</li>
			</ul>
			<div class="_right">
			</div>
		</div>
	</div>
	<!-- ==================================================================================== -->
	<script type="text/javascript">
		function doExit(){
			var option = {
					width : 300,
					height : 300,//大概高度 px
					title :'安全退出',//为空即不显示 
					msg : '<div class="_P10">确认退出当前账号么？</div>',
					//msgType:'jquery',//jquery 
					btnCannelVal:'  还是算了   ',   
					btnCannelShow:true,
					btnOkVal:'安全退出吧',  
					btnOkShow:true,
					btnOkFunc:function(){
						sendRequest("${ctx}/login/exit",{},function(data){
							showMsg(data.retMsg,data.retCode==1?'~您已安全退出~':'');
							location.reload(true);
						});
					}
				};
			showAlert(option);
		}
		function doLogin(){
			sendRequest("${ctx}/ajax/ajaxLogin", {}, function(data){
				var option = {
						width : 470,
						height : 500,//大概高度 px
						//title : '登录/注册',
						title :'',//为空即不现实 
						msg : data,
						//msgType:'jquery',//jquery 
						//btnCannelVal:'下次再来', 
						btnCannelShow:false,
						//btnOkVal:'立刻登录', 
						btnOkShow:false,
					};
				showAlert(option);
				$tabInit('.dialogMsg',"active");
			});
		}
		function doChat(){
			showAlert(null);
		}
		
	</script>
